import { post } from '@/utils/fetch';


// export const getUserList = data => post('/usercenter-admin-app/admin/sysUser/selectPage', data);
export const getUserList = data => post('/usercenter-admin-app/admin/sysUser/selectPageByApp', data);

export const addUser = data => post('/usercenter-admin-app/admin/sysUser/insert', data);

export const updateUser = data => post('/usercenter-admin-app/admin/sysUser/update', data);

export const deleteUser = data => post('/usercenter-admin-app/admin/sysUser/delete', data);

export const resetUserPwd = data => post('/usercenter-admin-app/admin/sysUser/resetPassWd', data);

export const activateUser = data => post('/usercenter-admin-app/admin/sysUser/activate', data);

export const freezeUser = data => post('/usercenter-admin-app/admin/sysUser/freeze', data);

export const getEmployee = data => post('/usercenter-admin-app/admin/sysEmployee/selectPage', data);

export const getAllRoleList = data => post('/usercenter-admin-app/admin/sysRole/selectList', data);

export const revalidateSysUser = data => post('/usercenter-admin-app/admin/sysUser/revalidate', data);
